package com.example.demo.mapper;

import com.example.demo.pojo.ClassInfo;
import com.example.demo.vo.ClassesVo;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ClassMapper {
    public List<ClassInfo>  findAllClass(String keyword);
    public int saveClass(ClassInfo clazz);
    public int updateClass(ClassInfo clazz);
    public int deleteClass(int id);
    public int getStudentCountByClass(int id);
    public List<ClassesVo> findClasses();
}
